import request from '@/utils/request'

// 查询会议确认列表
export function listMtConfirm(query) {
  return request({
    url: '/confirm/mtConfirm/list',
    method: 'get',
    params: query
  })
}

// 查询会议确认列表不分页
export function listMtConfirmAll(query) {
  return request({
    url: '/confirm/mtConfirm/listAll',
    method: 'get',
    params: query
  })
}

// 查询会议确认详细
export function getMtConfirm(id) {
  return request({
    url: '/confirm/mtConfirm/' + id,
    method: 'get'
  })
}

// 根据会议ID查询会议确认详细
export function getMtConfirmByMeetingId(meetingId) {
  return request({
    url: '/confirm/mtConfirm/getMtConfirmByMeetingId/' + meetingId,
    method: 'get'
  })
}

// 保存会议确认
export function saveMtConfirm(data) {
  return request({
    url: '/confirm/mtConfirm/save',
    method: 'post',
    data: data
  })
}

// 删除会议确认
export function delMtConfirm(id) {
  return request({
    url: '/confirm/mtConfirm/' + id,
    method: 'delete'
  })
}

